package org.kl.bpm.entity.conf;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.kl.bf.entity.IdEntity;

/**
 * 
 * @Author hqm
 * @CreateTime 2014年5月25日 下午7:54:46
 */
@Entity
@Table(name = "BPM_TASK_CONF")
public class BpmTaskConf extends IdEntity {
	private static final long serialVersionUID = 0L;
	private String businessKey;
	private String taskDefinitionKey;
	private String assignee;

	public BpmTaskConf() {
	}

	public BpmTaskConf(String businessKey, String taskDefinitionKey, String assignee) {
		this.businessKey = businessKey;
		this.taskDefinitionKey = taskDefinitionKey;
		this.assignee = assignee;
	}

	@Column(name = "BUSINESS_KEY", length = 200)
	public String getBusinessKey() {
		return this.businessKey;
	}

	/**
	 * @param businessKey
	 *            null.
	 */
	public void setBusinessKey(String businessKey) {
		this.businessKey = businessKey;
	}

	/** @return null. */
	@Column(name = "TASK_DEFINITION_KEY", length = 200)
	public String getTaskDefinitionKey() {
		return this.taskDefinitionKey;
	}

	/**
	 * @param taskDefinitionKey
	 *            null.
	 */
	public void setTaskDefinitionKey(String taskDefinitionKey) {
		this.taskDefinitionKey = taskDefinitionKey;
	}

	/** @return null. */
	@Column(name = "ASSIGNEE", length = 200)
	public String getAssignee() {
		return this.assignee;
	}

	/**
	 * @param assignee
	 *            null.
	 */
	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}
}
